package io.adrainty.bolee.security.models.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.adrainty.bolee.framework.commons.basic.EnableEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/12 上午12:22
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "职位信息")
@TableName("tab_post")
public class PostBO extends BaseBO {
    
    @Serial
    private static final long serialVersionUID = -5540880034725284444L;

    @Schema(description = "部门编号")
    private String deptNo;

    @Schema(description = "岗位编码：父部门编号+001【3位】")
    private String postNo;

    @Schema(description = "岗位名称")
    private String postName;

    @Schema(description = "显示顺序")
    private Integer sortNo;

    @Schema(description = "企业编号")
    private String companyNo;

    @Schema(description = "数据状态：0正常 1禁用")
    private EnableEnum dataState;
    
}
